var udata;

function addUserData( key, value )
{
   udata[ key ] = value;
}

function getUserValue( key )
{
   return udata[ key ];
}

function setUserData( val )
{
   delete val.action;
   udata = val;
}

function getUserData()
{
   return udata;
}
